#include<iostream>
using namespace std;

 

class a
{
public:
	a()
	{
		++_count;
	}
	a(const a& a)
	{
		++_count;
	}
	~a()
	{
		--_count;
	}
	static int getcount()
	{
		return _count;
	}
		

private:
	static int _count;

};
int a::_count = 0;



int main()
{

	a a1;
	a a2(a1);
	cout << a::getcount();


	return 0;
}



int main
{
	()